package com.gitee.ws;

import lombok.Data;

@Data
public class Message {
    private MessageType type;
    private String content;
    private String sender;
    private String receiver;
    public enum MessageType {
        PUBLIC_CHAT,
        PRIVATE_CHAT,
        JOIN,
        LEAVE,
        GROUP_CHAT
    }
}
